package com.huazhi.wzsnw.mapper;

import com.huazhi.wzsnw.model.Archives;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArchivesMapper {
    int deleteByPrimaryKey(String tid);

    int insert(Archives record);

    int insertSelective(Archives record);

    Archives selectByPrimaryKey(String tid);

    int updateByPrimaryKeySelective(Archives record);

    int updateByPrimaryKey(Archives record);

    List<String> getArchivesList(@Param("key") String key, @Param("archives") Archives archives);

    //List<String> selectArchivesList(String key, Archives archives);

    List<Archives> selectListArchivesByListTid(@Param("stringList") List<String> stringList, @Param("pageIndex") Integer pageIndex, @Param("pageSize") Integer pageSize);

}